package com.itheima.method;

public class method5{
    public static void main(String[] args) {
        int getmax = getmax(80,20);
        System.out.println(getmax);
    }//定义一个方法,
    public static int getmax(int a, int b){
        if(a > b){
            return a;

        }else{
            return b;
        }

    }

}

